<?php

class UserdataController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        $form = new Application_Form_CreateUserForm();
        
        $form->getElement('username')->setAttrib('disabled', true);
        $form->getElement('password')->setName('new_password');
        $form->getElement('password')->setLabel('New Password');
        $form->getElement('old_password')->setName('password');
        $form->getElement('submit')->setLabel('Save');
        $form->removeElement('id_hak_akses');
        
        $this->view->form = $form;
    }


}

